<link href="../addons/jy_ylfee/custom/templates/mobile/style.css?v=202105251730" rel="stylesheet">
<style type="text/css">
	.icon1 {
		width: .8rem; height: .8rem;
		vertical-align: -0.15em;
		fill: currentColor;
		overflow: hidden;
	}
.fui-block-group {
    border-radius:0.5rem
}
.fui-block-group .fui-block-child {
    background: #fff;
}
.fui-block-group .fui-block-child .icon {height: auto; padding-top: 0.3rem; text-align: center; font-size: 1.3rem;}
.fui-block-group .fui-block-child .icon i { font-size:1.3rem;}
.fui-block-group .fui-block-child .title {
    height: auto;
    font-size: 0.6rem;
    line-height: 1.4
    text-align: center;
    color: #333;
}
</style>
<!--<div class="fe-floatback right" style="left:0.2rem">
		<a href="javascript:void(0);" ng-click="access_json('jy_weishop/index/')">
		<i class="icon jinyunicon icon-back"></i>
		</a>
</div>-->
<div class="fui-page fui-page-current page-commission-index ">
    <div class='fui-content'>
	<div ng-if="pagedata.tips" class="tips tips-yellow" style="margin:0">
			<i class="fa fa-bullhorn"></i> {{pagedata.tips}}
	</div>
	<div style="background: {{main.syscolor||'#05c175'}};padding:1rem 0.5rem;margin-top:0;padding-bottom:1.6rem;">
			<div class="fui-cellone" style="padding:0">
				<div class="fui-cellone-label" style="width:auto;">
					<img style="border-radius: 0.2rem;width:2.2rem;height:2.2rem" ng-src="{{tomedia(pagedata.member.avatar) || '../core/resource/images/gw-user.png'}}" />
				</div>
				<div class="fui-cellone-text" style="font-size:0.7rem;color:#fff;padding-left:0.5rem">
					<div class="bold">{{pagedata.member.nickname || '昵称'}} </div>
					<div>
						<span style="font-size:0.7rem;margin-top:0.3rem;color:#f2f2f2">
						{{pagedata.member.level_id<=1?pagedata.member.province+' ' +pagedata.member.city:pagedata.member.province}}
						</span>
						<span style="font-size:0.7rem;margin-top:0.3rem;color:#f2f2f2">({{pagedata.member.leveltitle}})<i class='icon icon-question' style='font-size:8px;'></i></span>
						<!--<span ng-if="pagedata.member.level_id<1" class="label label-success" href="javascript:;" ng-click="access_json('jy_ylfee/apply//level_id=1')" style="color:#fff;">升级市公司 >></span>
						<span ng-if="pagedata.member.level_id<2" class="label label-success" href="javascript:;" ng-click="access_json('jy_ylfee/apply//level_id=2')" style="color:#fff;">升级省公司 >></span>
						-->
					</div>
					<div style="font-size:0.55rem">招商 ：{{pagedata.member.agent.nickname}}
						<span ng-if="pagedata.member.agent.province" style="font-size:0.55rem;margin-top:0.3rem;color:#f2f2f2">
						{{pagedata.member.agent.level_id<=1?pagedata.member.agent.province+' ' +pagedata.member.agent.city:pagedata.member.agent.province}}
						</span>
						<span ng-if="pagedata.member.agent.leveltitle" style="font-size:0.55rem;margin-top:0.3rem;color:#f2f2f2">({{pagedata.member.agent.leveltitle}})</span>
					</div>
					
				</div>
				<div ng-if="pagedata.setting.myshop==1" class="fui-cellone-remark noremark" style="font-size:1rem;color:#fff;">
					<i href="javascript:;" ng-click="access_json('jy_ylfee/info/main')" class="icon icon-set"></i>
				</div>
			</div>	
			<div class="fui-icon-group noborder  col-3" style="padding-top:0.5rem">
					<div class="fui-icon-col-sm external" style="margin:0">
						<div>
							<div class="subtitle" style="font-size:0.7rem;color:#fff">{{pagedata.setting.commission_total}}</div>
							<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.data.commission_total || '0.00'}}</div>
						</div>
					</div>
					<div ng-if="pagedata.member.level_id==0" class="fui-icon-col-sm external" style="margin:0">
						<div>
							<div class="subtitle" style="font-size:0.7rem;color:#fff">收益笔数</div>
							<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.feenum || 0}}</div>
														
						</div>
					</div>
					<div ng-if="pagedata.member.level_id==1" href="javascript:;" ng-click="access_json('jy_ylfee/applyfee/')" class="fui-icon-col-sm external" style="margin:0">
						<div>
							<div class="subtitle" style="font-size:0.7rem;color:#fff">市招商流水</div>
							<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.data.levelfee || 0}}</div>
														
						</div>
					</div>
					<div ng-if="pagedata.member.level_id==2" href="javascript:;" ng-click="access_json('jy_ylfee/applyfee/')" class="fui-icon-col-sm external" style="margin:0">
						<div>
							<div class="subtitle" style="font-size:0.7rem;color:#fff">省招商流水</div>
							<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.data.levelfee || 0}}</div>
														
						</div>
					</div>
					<div ng-if="pagedata.member.level_id==0" class="fui-icon-col-sm external" style="margin:0">
						<div>
							<div class="subtitle" style="font-size:0.7rem;color:#fff">公司</div>
							<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.member.member_num || 0}}</div>
						</div>
					</div>
					<div ng-if="pagedata.member.level_id==1" class="fui-icon-col-sm external" style="margin:0">
						<div>
							<div class="subtitle" style="font-size:0.7rem;color:#fff">市销售额</div>
							<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.member.levelorderfee || 0}}</div>
						</div>
					</div>
					<div ng-if="pagedata.member.level_id==2" class="fui-icon-col-sm external" style="margin:0">
						<div>
							<div class="subtitle" style="font-size:0.7rem;color:#fff">省销售额</div>
							<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.member.levelorderfee || 0}}</div>
						</div>
					</div>
			</div>			
	</div>
	<div style="padding:0.5rem;margin-top:-2.5rem">
		<div class="fui-cell-group fui-cell-click mod-group" style="margin-top:0.5rem">
			<a class="fui-cell external" href="javascript:;" ng-click="access_json('core/member.xunibi/')">
				<div class="fui-cell-text bold">我的钱包</div>
				<div class="fui-cell-remark" style="font-size: 0.65rem;">查看我的钱包</div>
			</a>
			<div class="fui-icon-group col-4 selecter">
				<div ng-repeat="(key,item) in pagedata.credit_types" ng-if="key!=2" class="fui-icon-col-sm external" style="margin:0">
					<div ng-click="access_json('core/member.xunibi//type='+key)">
						<div class="text bold" style="color:{{main.syscolor || '#7c1cc9'}}">{{item.fee || '0.00'}}</div>
						<div class="subtitle" style="font-size:12px;color: #666;">{{item.title}} <span style="color:{{main.syscolor || '#4491F1'}}">查看</span></div>
					</div>
				</div>
			</div>
		</div>
		<div class="fui-cell-group radius">
			<div class="fui-cell"style="height: 2.85rem;">
				<div class="fui-cell-text">我的邀请码：{{pagedata.member.mid}}
				</div>
				<div ng-show="pagedata.setting.closed_qrcode!=1" class="fui-cell-remark" style="font-size: 0.5rem;" ng-show="pagedata.setting.closed_qrcode!=1"  href="javascript:;" ng-click="access_json('jy_ylfee/qrcode/main')">
				<i class="icon jinyunicon icon-erweima text-yellow"></i>
				二维码
				</div>
			</div>
			<div class="fui-cell"style="height: 2.85rem;"  href="javascript:;" ng-click="access_json('jy_ylfee/commission/')">
				<div class="fui-cell-text">绩效概况：{{pagedata.feenum}}笔
				</div>
				<div class="fui-cell-remark" style="font-size: 0.5rem;" >
				查看
				</div>
			</div>
			<div class="fui-cell"style="height: 2.85rem;"  href="javascript:;" ng-click="access_json('jy_ylfee/commission2/')">
				<div class="fui-cell-text">工资概况：{{pagedata.feenum4}}笔
				</div>
				<div class="fui-cell-remark" style="font-size: 0.5rem;" >
				查看
				</div>
			</div>
			<div ng-if="pagedata.member.level_id==1 || pagedata.member.level_id==2" class="fui-cell"style="height: 2.85rem;"  href="javascript:;" ng-click="access_json('jy_ylfee/applyfee/')">
				<div class="fui-cell-text">流水记录：{{pagedata.data.levelfee || 0}}元
				</div>
				<div class="fui-cell-remark" style="font-size: 0.5rem;" >
				查看
				</div>
			</div>
			<div class="fui-cell"style="height: 2.85rem;"  href="javascript:;" ng-click="access_json('jy_ylfee/commission3/')">
				<div class="fui-cell-text">眼药水业绩：{{pagedata.feenum9}}笔
				</div>
				<div class="fui-cell-remark" style="font-size: 0.5rem;" >
				查看
				</div>
			</div>
			<div class="fui-cell"style="height: 2.85rem;"  href="javascript:;" ng-click="access_json('jy_ylfee/down/')">
				<div class="fui-cell-text">公司成员：{{pagedata.member.member_num || 0}}人
				</div>
				<div class="fui-cell-remark" style="font-size: 0.5rem;" >
				查看
				</div>
			</div>
		</div>
		<div class="fui-block-group">
		<div class="fui-icon-group col-3 selecter" style="padding:0.5rem 0">
			<div ng-if="pagedata.member.level_id>0" class="fui-icon-col-sm external" style="margin:0">
				<div ng-click="access_json('jy_ylfee/order//type=1')">
					<div class="text bold" style="font-size:0.75rem;color:{{main.syscolor || '#7c1cc9'}}">{{pagedata.data.fee1 || '0.00'}}</div>
					<div class="text" style="color: #666;">区域分红<span style="color:{{main.syscolor || '#4491F1'}}">查看</span></div>
				</div>
			</div>
			<div ng-if="pagedata.member.level_id>0" class="fui-icon-col-sm external" style="margin:0">
				<div ng-click="access_json('jy_ylfee/order//type=4')">
					<div class="text bold" style="font-size:0.75rem;color:{{main.syscolor || '#7c1cc9'}}">{{pagedata.data.fee4 || '0.00'}}</div>
					<div class="text" style="color: #666;">效益工资<span style="color:{{main.syscolor || '#4491F1'}}">查看</span></div>
				</div>
			</div>
			<div ng-if="pagedata.member.level_id>0" class="fui-icon-col-sm external" style="margin:0">
				<div ng-click="access_json('jy_ylfee/order//type=5')">
					<div class="text bold" style="font-size:0.75rem;color:{{main.syscolor || '#7c1cc9'}}">{{pagedata.data.fee5 || '0.00'}}</div>
					<div class="text" style="color: #666;">扶商工资<span style="color:{{main.syscolor || '#4491F1'}}">查看</span></div>
				</div>
			</div>
			<div ng-if="pagedata.member.level_id==0" class="fui-icon-col-sm external" style="margin:0">
				<div ng-click="access_json('jy_ylfee/order//type=2')">
					<div class="text bold" style="font-size:0.75rem;color:{{main.syscolor || '#7c1cc9'}}">{{pagedata.data.fee2 || '0.00'}}</div>
					<div class="text" style="color: #666;">直推奖<span style="color:{{main.syscolor || '#4491F1'}}">查看</span></div>
				</div>
			</div>
			<div ng-if="pagedata.member.level_id==0" class="fui-icon-col-sm external" style="margin:0">
				<div ng-click="access_json('jy_ylfee/order//type=3')">
					<div class="text bold" style="font-size:0.75rem;color:{{main.syscolor || '#7c1cc9'}}">{{pagedata.data.fee3 || '0.00'}}</div>
					<div class="text" style="color: #666;">培育奖<span style="color:{{main.syscolor || '#4491F1'}}">查看</span></div>
				</div>
			</div>
			<div class="fui-icon-col-sm external" style="margin:0">
				<div ng-click="access_json('jy_ylfee/order//type=6')">
					<div class="text bold" style="font-size:0.75rem;color:{{main.syscolor || '#7c1cc9'}}">{{pagedata.data.fee6 || '0.00'}}</div>
					<div class="text" style="color: #666;">股东分红<span style="color:{{main.syscolor || '#4491F1'}}">查看</span></div>
				</div>
			</div>
			<div class="fui-icon-col-sm external" style="margin:0">
				<div>
					<div class="text bold" style="font-size:0.75rem;color:{{main.syscolor || '#7c1cc9'}}">{{pagedata.data.mybuy || '0.00'}}</div>
					<div class="text" style="color: #666;">自购总额(元)<span style="color:{{main.syscolor || '#4491F1'}}">查看</span></div>
				</div>
			</div>
		</div>
		</div>
		<!--{/if}-->
		<div class="fui-cell-group radius">
			<a ng-repeat="item in pagedata.pluginset.bankuai" class="fui-cell" href="javascript:;" ng-click="access_json(item.action)">
				<div class="fui-cell-icon ">
					<i class="icon {{item.icon || 'icon-all'}} text-yellow"></i>
				</div>
				<div class="fui-cell-text">{{item.title}}</div>
				<div class="fui-cell-remark" style="font-size: 0.5rem;"></div>
			</a>
		</div>
    </div>
	</div>
</div>
<div ng-include="sys_html('common/_h5game',true)"></div>
<div ng-include="sys_html('_footer')"></div>
<div ng-if="pagedata.show_xieyi" class="popup">
	<div class="popup-body">
		<div class="popup-center">
			<i class="closed icon icon-cuowu" ng-click="pagedata.show_xieyi=false"></i>
			<div class="content-images" style="padding:0.5rem;height:20rem; overflow-y:scroll;">
					<div class="title bold" style="font-size:0.8rem">{{pagedata.xieyi.apply_title||'服务管理规则'}} / <small>Read Ggree</small></div>
					<div class="text" style="padding-top:0.5rem;font-size:0.7rem" ng-bind-html="trust(pagedata.xieyi.apply_content)">
					</div>
			</div>
			<div class="modal-footer">
				<div ng-click="pagedata.show_xieyi=false;pagedata.post.check=1" class="mod-check" style="width: 100%; margin: 0;">我已阅读</div>
			</div>
		</div>
	</div>
</div>